package com.spsoft.workflow.model.vo.biz;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("我发起页面 需要返回给前端的VO")
public class BusinessFlowVo {

    @ApiModelProperty(value = "")
    private String id;
    @ApiModelProperty("流程实例id")
    private String procInstId;
    @ApiModelProperty(value = "业务流程标题")
    private String busName;
    @ApiModelProperty(value = "流程编号")
    private String busCode;
    @ApiModelProperty(value = "业务流程类型编码")
    private String busType;
    @ApiModelProperty(value = "业务流程类型名称")
    private String busTypeName;
    @ApiModelProperty(value = "审批模板id")
    private String templateId;
    @ApiModelProperty("任务id")
    private String taskId;
    @ApiModelProperty("当前节点")
    private String currentActivity;
    @ApiModelProperty("当前节点名称")
    private String currentActivityName;
    @ApiModelProperty("当前处理人")
    private String currentAssignee;
    @ApiModelProperty("审批状态名称")
    private String businessStatusText;
    @ApiModelProperty("审批人岗位")
    private String roleNames;
    @ApiModelProperty("业务流程状态")
    private String busStatus;
    @ApiModelProperty(value = "发起人员")
    private String createdBy;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createdTime;
}
